<!DOCTYPE html>
<head>
    <title>登录</title>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="/layui/css/css.css">
    <meta name ="viewport" content ="width=device-width,initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">


</head>
<body>

<span class="title-top">年轻人!</span>
<span class="title-mid">就要</span>
<span class="title-down">不讲武德</span>


<div class="layui-col-md4 login-form">
    <div  style="background-color: white;padding: 50px 0px 50px 0px;">
        <form method="post" class="layui-form" action="/login">
            <div class="container">
                <div class="layui-row">
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户名</label>
                        <div class="layui-input-block">
                            <input style="width: 300px;" class="layui-input" type="text" name="name" required>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">密码:</label>
                        <div class="layui-input-block">
                            <input style="width: 300px;" class="layui-input" type="password" name="password" required>
                        </div>
                    </div>
                    <div class="layui-form-item layui-col-md12">
                        <div class="layui-btn-group" style="width: 500px;">
                            <button type="submit" class="layui-btn layui-btn-radius layui-btn-normal"  style="width:100px;position: absolute;left: 300px;">登录</button>
                            <a href="/Register" style="width:100px;position: absolute;left: 110px;" class="layui-btn layui-btn-radius  layui-btn-danger">注册</a>
                        </div>
                    </div>
                    <label style="color: #bb0707">[[${info}]]</label>
                </div>
            </div>

        </form>


    </div>
</div>

<script type="text/javascript" src="/layui/layui.all.js"></script>
<script src="/js/jquery-3.5.1.js"></script>
</body>
</html>